package com.jyw.business.de.domain.dto.web;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import javax.validation.constraints.NotNull;

@Data
@ApiModel("分配需求")
public class DemandAllocationDto {
    @ApiModelProperty("需求id")
    @NotNull(message = "需求id不能为空")
    private Long id;

    @ApiModelProperty("需求负责人")
    private Long userId;

    @ApiModelProperty("分配类型 1分配人 2由我处理")
    @NotNull(message = "分配类型不能为空")
    private Integer allocationType;
}
